<template>
  <div class="el-mr-finishReturn">
    <TableTitle>
      <slot>
        <p>
          查询条件
        </p>
      </slot>
    </TableTitle>
    <Search ref="finSearchContainer"></Search>
    <MidBtn></MidBtn>
    <TableTitle>
      <slot>
        <p>
          标准件退货单申请表
        </p>
      </slot>
    </TableTitle>
    <Table></Table>
    <HcxInfo></HcxInfo>
  </div>
</template>
<script>
import Table from "./components/StandardReturnTable.vue";
import Search from "./components/StandardReturnSearch.vue";
import MidBtn from "./components/StandardReturnMidBtn.vue";
import HcxInfo from "./components/StandardReturnHcxInfo.vue";
import TableTitle from "../../../../components/TableTitle.vue"

import { allReturn } from "@/utils/api.js"
export default {
  name: "StandardReturn",
  components: {
    Table,
    Search,
    MidBtn,
    HcxInfo,
    TableTitle
  },
  data(){
    return{
      // 接收Table传过来的勾选的info
      searchInfo:[],
    }
  },
  methods:{
    // 接收Table勾选的info
    standardReturnInfo(value){
      this.searchInfo = value
    },
  }
};
</script>
<style scoped>
.el-button--primary {
  background: #FCAD3E;
  border-color: #FCAD3E;
}
.el-button--primary:hover {
  background: #d38f31;
  border-color: #d38f31;
}
</style>